#!/bin/bash
if [ -f $1 ];then
	vim $1
else
touch $1
mkdate=`date`
chmod u+x $1
echo "#!/bin/bash
# date: $mkdate
# author: xkl" >> $1
echo "echo -e '\e[31m\e[0m'" >> $1
vim $1
fi
